﻿            @if (User.IsInRole("管理员"))
            {
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("首页", "Index", "Admin")</div>
            </div>
                <div class="widget">
				<div class="header"><div class="ui-icon"></div>活动设置</div>
				<div class="submenu">
                    <ul class="menu">
                        <li>@Html.ActionLink("限额", "Index", "CandidateQuota")</li>
                        <li>@Html.ActionLink("评委", "Index", "ExpertJudge")</li>
                        <li>@Html.ActionLink("听课日期", "Index", "CountyClassDate")</li>
                        <li>@Html.ActionLink("档案管理", "Archives", "Admin")</li>
                        <li>@Html.ActionLink("评分权重", "ScorePercentages", "Admin")</li>
                        <li>@Html.ActionLink("档案统计", "CandidateStatistics", "Admin")</li>
                        <li>@Html.ActionLink("评分日志", "ScoreLogs", "Admin")</li>
                    </ul>
                </div>
            </div>
			<div class="widget">
				<div class="header"><div class="ui-icon"></div>系统管理</div>
				<div>
                <ul class="menu">
                        <li>@Html.ActionLink("活动", "Index", "AnnualEvent")</li>
                        <li>@Html.ActionLink("用户", "UserList", "Account")</li>
                        <li>@Html.ActionLink("区县", "Index", "County")</li>
                        <li>@Html.ActionLink("学科", "Index", "Subject")</li>
                    </ul>
                </div>
			</div>
            }             
            <!--学科组组长-->
             @if (User.IsInRole("学科组组长"))
             {
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("首页", "Index", "SubjectAdmin")</div>
            </div>
            <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("评分权重", "Index", "ScorePercentage")</div>
            </div>
            <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("参赛档案", "Archives", "SubjectAdmin")</div>
            </div>
            <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("评分情况", "Scores", "SubjectAdmin")</div>
            </div>
            <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("评委信息", "ExpertJudges", "SubjectAdmin")</div>
		    </div>
                 <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("参赛限额", "CandidateQuota", "SubjectAdmin")</div>
		    </div>
                 
             }
            <!--区县管理员-->
            @if (User.IsInRole("区县管理员"))
            {
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("首页", "Index", "CountyAdmin")</div>
            </div>
                <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("档案管理", "Index", "Archive")</div>
		    </div>
               <div class="widget">
                <div class="header"><div class="ui-icon1"></div>@Html.ActionLink("参赛限额", "CandidateQuota", "CountyAdmin")</div>
		    </div>
            }
            <!--评委-->
            @if (User.IsInRole("评委"))
            {
             <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("首页", "Index", "PW")</div>
            </div>
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("评分", "MyScores", "PW")</div>
            </div>
             <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("参赛档案", "Archives", "PW")</div>
            </div>
            }
            <!--评委\区县管理员\学科组组长\管理员-->
            @if (User.IsInRole("评委") || User.IsInRole("区县管理员") || User.IsInRole("学科组组长") || User.IsInRole("管理员"))
            {
             <div class="widget">
				<div class="header"><div class="ui-icon"></div>数据报表</div>
                 <ul class="menu">
                        <li>@Html.ActionLink("参赛档案汇总表", "Archives", "Report", null, new { target = "_blank" })</li>
                        @if ((User.IsInRole("管理员") || User.IsInRole("学科组组长")))
                        {
                            <li>@Html.ActionLink("评分结果汇总表", "ScoreReport", "Report", null,new { target = "_blank" })</li>
                        }
                    </ul>
		    </div>
            }
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("修改密码", "ChangePassword", "Account")</div>
		    </div>
            @if (User.IsInRole("评委"))
            {
                <div class="widget">
				<div class="header"><div class="ui-icon1"></div>@Html.ActionLink("设置通讯地址", "SetContactInfo", "PW")</div>
		    </div>
            }
            <div class="widget">
				<div class="header"><div class="ui-icon1"></div> @Html.ActionLink(AuditResources.Account.LogOff, "LogOff", "Account")  </div>
		    </div>
            
